package com.spzx.pay.mapper;

import com.spzx.model.entity.pay.PaymentInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Project: spzx-parent
 * Package: com.spzx.pay.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/5/5 下午5:36
 */
@Mapper
public interface PaymentInfoMapper {
    //添加
    void save(PaymentInfo paymentInfo);

    //订单编号查询支付记录
    PaymentInfo getByOrderNo(String orderNo);

    //更新支付状态
    void updateById(PaymentInfo paymentInfo);
}
